#include <QCoreApplication>
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    int A;
      cout<<"Vvedite Celoe chislo A=  " ;
      cin>>A;
      if (A > 0) A++;
      else A -= 2;
      cout << "Otvet: " << A << endl;

      return a.exec();
}
